
package requests

import (
	"github.com/goravel/framework/contracts/http"
	"github.com/goravel/framework/contracts/validation"
)

type SystemEventDataRequest struct {

	Label string `json:"label" form:"label"`

	Value string `json:"value" form:"value"`

	Data string `json:"data" form:"data"`

}

func (r *SystemEventDataRequest) Authorize(ctx http.Context) error {
	return nil
}

func (r *SystemEventDataRequest) Rules(ctx http.Context) map[string]string {
	return map[string]string{

		"label": "required",

		"value": "required",

		"data": "required",

	}
}

func (r *SystemEventDataRequest) Messages(ctx http.Context) map[string]string {
	return map[string]string{}
}

func (r *SystemEventDataRequest) Attributes(ctx http.Context) map[string]string {
	return map[string]string{}
}

func (r *SystemEventDataRequest) PrepareForValidation(ctx http.Context, data validation.Data) error {
	return nil
}
